import request, { PageRequest } from "@/utils/request";
import { CustomerInfo } from "@/pages/index/type";
/** 收藏列表 */
export function fetchMyStarList(params: PageRequest) {
  return request.get<CustomerInfo[], true>('/cupid/customer-collect/page', params)
}

/** 取消收藏 */
export function fetchUnStarUser(id: string) {
  return request.delete(`/cupid/customer-collect/${id}`)
}